package com.lin.beibeipatent.service.impl;

import com.lin.beibeipatent.dao.PatentMapper;
import com.lin.beibeipatent.pojo.Patent;
import com.lin.beibeipatent.service.PatentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author ChenweiLin
 * @create 2021-09-20 21:53
 */
@Service
public class PatentServiceImpl implements PatentService {
    @Autowired
    private PatentMapper patentMapper;


    @Override
    public Patent getPatentById(Integer id) {
        return patentMapper.getPatentById(id);
    }
}
